package com.iblog.service.impl;



import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.iblog.bean.Message;
import com.iblog.dao.IMsgDao;
import com.iblog.service.IMsgService;

@Service("msgService")
public class MsgServiceImpl implements IMsgService {

	
	@Autowired
	private IMsgDao msgDao;
	@Override
	public void insert(Message message) {
		msgDao.insert(message);
		
	}

	@Override
	public void update(Message message) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void delete(int id) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public List<Message> selectAll() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int countAll() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public Message findByMsgId(int id) {
		// TODO Auto-generated method stub
		return null;
	}
	
}
